package com.youwatch.concurrency.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: kss
 * @Description: 标识【线程不安全】的类
 * @Date: Create in 2019/1/15
 */
@Target(ElementType.TYPE)// 注解作用的目标
@Retention(RetentionPolicy.SOURCE)// 注解存在的范围
public @interface NotThreadSafe {

    String value() default "";
}
